142d3723ddbc1731fd0fb34eb5768c2d37058a0a,portal-impl/src/com/liferay/portlet/journal/lar/JournalPortletDataHandlerImpl.java,JournalPortletDataHandlerImpl,importArticle,#PortletDataContext#Map#Map#Map#Element#,753
Before Change
_log.warn(
"Template " + article.getTemplateId() +
" is missing " + "for article " +
article.getArticleId() +
", skipping this article.");
}
After Change
if (template == null) {
if (_log.isWarnEnabled()) {
StringBunder sb = new StringBunder();
sb.append("Template ");
sb.append(article.getTemplateId());
sb.append(" is missing for article ");
sb.append(article.getArticleId());
sb.append(", skipping this article.");
_log.warn(sb.toString());
}
return;